Tor Lillqvist [Tue, 27 Nov 2007 22:48:32 +0000 (22:48 +0000)]
Remove fuzzy marker for the metadata entry (the first one, for the string
2007-11-28 Tor Lillqvist <tml@novell.com>
* io.po: Remove fuzzy marker for the metadata entry (the first
one, for the string ""), as having that fuzzy crashes msgfmt from
gettext 0.17, at least for me.
svn path=/trunk/; revision=19081
Tor Lillqvist [Tue, 27 Nov 2007 22:29:46 +0000 (22:29 +0000)]
Fix #375893, patch by Ben Hague:
2007-11-28 Tor Lillqvist <tml@novell.com>
Fix #375893, patch by Ben Hague:
* gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
around GetLogicalDrives() that takes also the viewable drive
restrictions in the Registry (which are usually the result of an
Active Directory Group Policy) into account.
(check_volumes, gtk_file_system_win32_list_volumes) Call
get_viewable_logical_drives() instead of GetLogicalDrives().
svn path=/trunk/; revision=19079
Matthias Clasen [Tue, 27 Nov 2007 18:15:28 +0000 (18:15 +0000)]
Zero some variables to silence valgrind. (#495124, Morten Welinder)
2007-11-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_move_resize): Zero some
variables to silence valgrind. (#495124, Morten Welinder)
svn path=/trunk/; revision=19077
Ryan Lortie [Tue, 27 Nov 2007 03:25:09 +0000 (03:25 +0000)]
add clarification stating that the construct_child function is responsible
2006-11-26 Ryan Lortie <desrt@desrt.ca>
* docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
that the construct_child function is responsible for returning a
reference.
* gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
objects from constructors
* gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
g_object_ref() to this construction function (it's the only
implementer in GTK)
Fixes #496645.
svn path=/trunk/; revision=19075
Ryan Lortie [Tue, 27 Nov 2007 03:07:23 +0000 (03:07 +0000)]
remove concept of root objects and just refcount all objects in the
2006-11-26 Ryan Lortie <desrt@desrt.ca>
* gtkbuilder.c: remove concept of root objects and just refcount
all objects in the builder. Fixes #496651.
svn path=/trunk/; revision=19074
Ryan Lortie [Tue, 27 Nov 2007 02:34:12 +0000 (02:34 +0000)]
fix invalid free
2007-11-26 Ryan Lortie <desrt@desrt.ca>
* tests/buildertest.c (test_window): fix invalid free
svn path=/trunk/; revision=19073
Josselin Mouette [Mon, 26 Nov 2007 23:16:19 +0000 (23:16 +0000)]
reviewed by: Federico Mena Quintero
2007-11-26 Josselin Mouette <joss@malsain.org>
reviewed by: Federico Mena Quintero
* gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
(shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
(shortcuts_list_create), (gtk_file_chooser_default_should_respond):
Make the shortcuts activate with a single click. (#148828)
Fix a few things affected by the change:
- Set selection mode to GTK_SELECTION_SINGLE to allow a case
where no shortcut is selected.
- Don't activate a shortcut in the response callback.
- Filter out duplicate entries in volumes and bookmarks to
avoid the selection to change when reordering them with DnD.
svn path=/trunk/; revision=19072
Leonardo Ferreira Fontenelle [Mon, 26 Nov 2007 22:59:40 +0000 (22:59 +0000)]
Brazilian Portuguese translation updated by Pedro de Medeiros.
2007-11-26 Leonardo Ferreira Fontenelle <leonardof@svn.gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Pedro de
Medeiros.
svn path=/trunk/; revision=19071
Leonardo Ferreira Fontenelle [Mon, 26 Nov 2007 22:52:43 +0000 (22:52 +0000)]
Brazilian Portuguese translation updated by Pedro de Medeiros and myself.
2007-11-26 Leonardo Ferreira Fontenelle <leonardof@svn.gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Pedro de
Medeiros and myself.
svn path=/trunk/; revision=19070
Matthias Clasen [Mon, 26 Nov 2007 20:15:15 +0000 (20:15 +0000)]
Fix up some doc comments to shut up gtk-doc.
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c:
* gtk/gtknotebook.c:
* gtk/gtkplugprivate.h:
* gtk/gtksocket.c:
* gtk/gtksocketprivate.h:
* gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
svn path=/trunk/; revision=19066
Matthias Clasen [Mon, 26 Nov 2007 19:05:38 +0000 (19:05 +0000)]
Use $CUPS_CONFIG instead of hardcoded cups-config. (#495574, Richard Hult)
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
(#495574, Richard Hult)
svn path=/trunk/; revision=19062
Matthias Clasen [Mon, 26 Nov 2007 18:27:20 +0000 (18:27 +0000)]
Change some labels to be clearer. String change ! (#376361, Sven Neumann)
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c: Change some labels to be clearer.
String change ! (#376361, Sven Neumann)
svn path=/trunk/; revision=19061
Matthias Clasen [Mon, 26 Nov 2007 18:21:13 +0000 (18:21 +0000)]
Short-circuit on destroy. (gtk_notebook_destroy): Destroy tab_label
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
destroy.
(gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
Welinder)
svn path=/trunk/; revision=19059
Matthias Clasen [Mon, 26 Nov 2007 18:16:46 +0000 (18:16 +0000)]
Improve alternative button ordering. (#476827, Yevgen Muntyan, patch by
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.c: Improve alternative button
ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
svn path=/trunk/; revision=19057
Matthias Clasen [Mon, 26 Nov 2007 17:42:35 +0000 (17:42 +0000)]
Fix a theming problem with colors in GtkCalendar. (#499703, Michael
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Fix a theming problem with colors
in GtkCalendar. (#499703, Michael Hofmann)
svn path=/trunk/; revision=19055
Matthias Clasen [Mon, 26 Nov 2007 17:34:24 +0000 (17:34 +0000)]
Bump glib requirement
svn path=/trunk/; revision=19054
Matthias Clasen [Mon, 26 Nov 2007 17:32:19 +0000 (17:32 +0000)]
Use templates for glib-mkenums calls instead of complicated commandlines
2007-11-26 Matthias Clasen <mclasen@redhat.com>
Use templates for glib-mkenums calls instead of
complicated commandlines in Makefiles. (#429910)
* gdk-pixbuf/Makefile.am:
* gdk/Makefile.am:
* gtk/Makefile.am:
* perf/Makefile.am: Use templates for glib-mkenums
* gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
* gdk/gdkenumtypes.[ch].template:
* gtk/gtktypebuiltings.[ch].template:
* perf/typebuiltins.[ch].template: The templates
svn path=/trunk/; revision=19053
Matthias Clasen [Mon, 26 Nov 2007 17:10:00 +0000 (17:10 +0000)]
Don't use guint8 for bitfields, since some compilers choke on that.
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c:
* gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
some compilers choke on that. (#467722)
svn path=/trunk/; revision=19051
Matthias Clasen [Mon, 26 Nov 2007 16:48:21 +0000 (16:48 +0000)]
Add a note about hook setup. (#425004, Emmanuele Bassi)
2007-11-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
about hook setup. (#425004, Emmanuele Bassi)
svn path=/trunk/; revision=19050
Priit Laes [Mon, 26 Nov 2007 14:58:34 +0000 (14:58 +0000)]
Translation updated by Ivar Smolin.
2007-11-26 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19049
Priit Laes [Mon, 26 Nov 2007 14:46:29 +0000 (14:46 +0000)]
Translation updated by Ivar Smolin.
2007-11-26 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19048
Tor Lillqvist [Sun, 25 Nov 2007 22:59:50 +0000 (22:59 +0000)]
Use the monitor the window currently is on, not always the primary
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
monitor the window currently is on, not always the primary
monitor. (#463865, Tim Evans)
svn path=/trunk/; revision=19047
Tor Lillqvist [Sun, 25 Nov 2007 22:25:18 +0000 (22:25 +0000)]
New file, dummy implementations.
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
* gdk/win32/Makefile.am: Add it.
svn path=/trunk/; revision=19045
Tor Lillqvist [Sun, 25 Nov 2007 22:18:52 +0000 (22:18 +0000)]
Don't add jasper to all_loaders if no libjasper.
2007-11-26 Tor Lillqvist <tml@novell.com>
* configure.in: Don't add jasper to all_loaders if no libjasper.
* gdk-pixbuf/Makefile.am: Fix static build of the icns loader.
svn path=/trunk/; revision=19044
Nickolay V. Shmyrev [Sun, 25 Nov 2007 19:49:46 +0000 (19:49 +0000)]
Updated Russian translation by Vasiliy Faronov <qvvx@yandex.ru>
2007-11-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation
by Vasiliy Faronov <qvvx@yandex.ru>
svn path=/trunk/; revision=19043
Bastien Nocera [Sun, 25 Nov 2007 18:07:01 +0000 (18:07 +0000)]
Add detection for libjasper, used by the gdk-pixbuf JPEG2000 loader
2007-11-25 Bastien Nocera <hadess@hadess.net>
* configure.in: Add detection for libjasper, used by the
gdk-pixbuf JPEG2000 loader
2007-11-25 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* io-jasper.c: Add the libjasper JPEG2000 loader
(Closes: #469901)
svn path=/trunk/; revision=19042
Matthias Clasen [Sun, 25 Nov 2007 06:51:19 +0000 (06:51 +0000)]
Require gtk-doc 1.8
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* configure.in: Require gtk-doc 1.8
* */*.c: Use gtk-doc abbreviations for examples in docs.
svn path=/trunk/; revision=19041
Matthias Clasen [Sun, 25 Nov 2007 06:07:44 +0000 (06:07 +0000)]
Fix a typo
svn path=/trunk/; revision=19039
Matthias Clasen [Sun, 25 Nov 2007 05:40:49 +0000 (05:40 +0000)]
Move signal and property documentation inline, fix a problem with the
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdialog.c: Move signal and property documentation inline,
fix a problem with the ::response signal docs. (#499133, Josselin
Mouette)
svn path=/trunk/; revision=19038
Priit Laes [Sat, 24 Nov 2007 12:42:58 +0000 (12:42 +0000)]
Translation updated by Ivar Smolin.
2007-11-24 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19036
Priit Laes [Sat, 24 Nov 2007 12:42:45 +0000 (12:42 +0000)]
Translation updated by Ivar Smolin.
2007-11-24 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19035
15:48:26 Tim Janik [Thu, 22 Nov 2007 14:47:57 +0000 (14:47 +0000)]
initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
the test targets will execute Gtk+ test programs within an Xvfb session.
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19034
15:39:40 Tim Janik [Thu, 22 Nov 2007 14:38:26 +0000 (14:38 +0000)]
call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
Priit Laes [Thu, 22 Nov 2007 11:38:44 +0000 (11:38 +0000)]
Translation updated by Ivar Smolin.
2007-11-22 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=19032
Matthias Clasen [Thu, 22 Nov 2007 06:04:41 +0000 (06:04 +0000)]
Fix a casting problem. (#485662, patch by Herbert Valerio Riedel)
2007-11-22 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
(#485662, patch by Herbert Valerio Riedel)
svn path=/trunk/; revision=19025
Matthias Clasen [Thu, 22 Nov 2007 05:50:32 +0000 (05:50 +0000)]
Fix an aliasing problem. (#347585, Ed Catmur)
2007-11-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
svn path=/trunk/; revision=19024
Richard Hult [Wed, 21 Nov 2007 11:29:03 +0000 (11:29 +0000)]
* gdk/quartz/gdktestutils-quartz.c: Add stubs for the testing functions to
2007-11-21 Richard Hult <richard@imendio.com>
* gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
stubs for the testing functions to fix the build.
svn path=/trunk/; revision=19023
Behdad Esfahbod [Wed, 21 Nov 2007 09:32:35 +0000 (09:32 +0000)]
Fix C89 compilation issue. (#467711, The Written Word)
2007-11-21 Behdad Esfahbod <behdad@gnome.org>
* tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
(#467711, The Written Word)
svn path=/trunk/; revision=19022
Ross Burton [Wed, 21 Nov 2007 09:22:48 +0000 (09:22 +0000)]
Add xsetting for gtk-scrolled-window-placement (#458103).
2007-11-21 Ross Burton <ross@openedhand.com>
* gdk/x11/gdksettings.c:
Add xsetting for gtk-scrolled-window-placement (#458103).
svn path=/trunk/; revision=19021
Behdad Esfahbod [Wed, 21 Nov 2007 09:22:06 +0000 (09:22 +0000)]
Make GtkMenuItem's arrow size themeable. (#469239, Michael Natterer)
2007-11-21 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkmenuitem.c (gtk_menu_item_class_init),
(gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
(#469239, Michael Natterer)
svn path=/trunk/; revision=19020
Behdad Esfahbod [Wed, 21 Nov 2007 09:12:59 +0000 (09:12 +0000)]
Add Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2007-11-21 Behdad Esfahbod <behdad@gnome.org>
* gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
(#436536, Tommi Komulainen)
svn path=/trunk/; revision=19019
Matthias Clasen [Wed, 21 Nov 2007 05:49:35 +0000 (05:49 +0000)]
Fix the default value of the toolbar-style property. (#489782, Jan Janech)
2007-11-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbar.c: Fix the default value of the toolbar-style
property. (#489782, Jan Janech)
svn path=/trunk/; revision=19018
Matthias Clasen [Wed, 21 Nov 2007 04:56:50 +0000 (04:56 +0000)]
Avoid drawing one too many frames. (#107398, Owen Taylor, Miguel Gomez)
2007-11-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
frames. (#107398, Owen Taylor, Miguel Gomez)
svn path=/trunk/; revision=19017
Matthias Clasen [Wed, 21 Nov 2007 04:12:13 +0000 (04:12 +0000)]
Use G_DEFINE_TYPE (#469341, Björn Lindqvist)
2007-11-20 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-animation.c: Use G_DEFINE_TYPE (#469341,
Björn Lindqvist)
svn path=/trunk/; revision=19016
Yannig MARCHEGAY [Tue, 20 Nov 2007 20:19:49 +0000 (20:19 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=19015
Tim Janik [Tue, 20 Nov 2007 17:44:06 +0000 (17:44 +0000)]
Fixed copyright for newly submitted files.
svn path=/trunk/; revision=19014
Tim Janik [Tue, 20 Nov 2007 15:04:33 +0000 (15:04 +0000)]
ChangeLog: added Gtk+ testing utility development history.
svn path=/trunk/; revision=19013
Tim Janik [Tue, 20 Nov 2007 15:03:31 +0000 (15:03 +0000)]
Moved Gdk test functions from Gtk+ to Gdk test utils.
* gdk/Makefile.am: added gdktestutils.h to public includes.
* gdk/gdk.h: added gdktestutils.h to public includes.
* gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
gdk_test_render_sync.
* gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.
* gdk/x11/Makefile.am: build gdktestutils-x11.c.
* gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.
* gtk/gtktestutils.c:
* gtk/gtktestutils.h:
* gtk/gtk.symbols: removed gtk_test_simulate_button
gtk_test_simulate_key, gtk_test_xserver_render_sync.
* gtk/tests/testing.c: call gdk_test_render_sync.
svn path=/trunk/; revision=19012
Tim Janik [Tue, 20 Nov 2007 15:03:28 +0000 (15:03 +0000)]
Added unit tests for Gtk+ testing utilities.
* gtk/tests/testing.c: added a sample test program that tests Gtk+ test
utility functions. some g_test_* related portions are disabled and need
to be enabled once Gtk+ depends on a new glib with the GLib testing
framework integrated.
* gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
added exemplary test rules to run tests inside Xvfb. this needs to depend
on gtester for full fledged testing.
* gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
collecting _get_type functions to catch e.g. gtk_text_get_type().
* configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
svn path=/trunk/; revision=19011
Tim Janik [Tue, 20 Nov 2007 15:03:26 +0000 (15:03 +0000)]
Added Gtk+ testing utilities.
* gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
for the most part, the functions herein involve navigating and interacting
with dialog elements programatically, to automate user interaction tests of
dialogs and widgets.
* gtk/gtk.h: include gtk/gtktestutils.h as public API.
* gtk/gtk.symbols: added gtk_test_* symbols.
* gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
generate gtktypefuncs.c which contains a list of all _get_type functions in
Gtk+ and Gdk.
svn path=/trunk/; revision=19010
Bastien Nocera [Tue, 20 Nov 2007 11:15:12 +0000 (11:15 +0000)]
Add support for 512x512 Leopard icons, using the ic09 iconType
2007-11-20 Bastien Nocera <hadess@hadess.net>
* io-icns.c: (load_resources): Add support for 512x512 Leopard
icons, using the ic09 iconType
svn path=/trunk/; revision=19009
Bastien Nocera [Tue, 20 Nov 2007 10:28:35 +0000 (10:28 +0000)]
Add icns loader to the files to translate
2007-11-20 Bastien Nocera <hadess@hadess.net>
* POTFILES.in: Add icns loader to the files to translate
svn path=/trunk/; revision=19008
Bastien Nocera [Tue, 20 Nov 2007 10:26:57 +0000 (10:26 +0000)]
add support for conditional icns gdk-pixbuf loader (Closes: #395738)
2007-11-20 Bastien Nocera <hadess@hadess.net>
* configure.in: add support for conditional icns gdk-pixbuf loader
(Closes: #395738)
2007-11-20 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* io-icns.c: Add icns (MacOS X icons) loader, based on work by
Lyonel Vincent <lyonel@ezix.org> (Closes: #395738)
svn path=/trunk/; revision=19007
Matthias Clasen [Mon, 19 Nov 2007 18:59:49 +0000 (18:59 +0000)]
Fix some typos
svn path=/trunk/; revision=19006
10:31:26 Tim Janik [Mon, 19 Nov 2007 10:19:11 +0000 (10:19 +0000)]
updated version number to 2.15.0 for development.
2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
* configure.in: updated version number to 2.15.0 for development.
svn path=/trunk/; revision=19005
10:31:26 Tim Janik [Mon, 19 Nov 2007 09:41:05 +0000 (09:41 +0000)]
updated version number to 2.15.0 for development.
2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
* configure.in: updated version number to 2.15.0 for development.
svn path=/trunk/; revision=19004
10:27:39 Tim Janik [Mon, 19 Nov 2007 09:26:25 +0000 (09:26 +0000)]
=== Branch for 2.12 ===
2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
=== Branch for 2.12 ===
svn path=/trunk/; revision=19003
Matthias Clasen [Mon, 19 Nov 2007 05:47:36 +0000 (05:47 +0000)]
Fix the GtkBuildable implementation to allow setting column types.
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreestore.c: Fix the GtkBuildable implementation
to allow setting column types. (#496795, James Stephenson)
svn path=/trunk/; revision=19001
Matthias Clasen [Mon, 19 Nov 2007 05:34:19 +0000 (05:34 +0000)]
Make gtk_check_version() return const. (#496734, Nicolas Joseph)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.[hc]: Make gtk_check_version() return const.
(#496734, Nicolas Joseph)
svn path=/trunk/; revision=19000
Matthias Clasen [Mon, 19 Nov 2007 05:28:28 +0000 (05:28 +0000)]
Correct docs for program-name property. (#496689, Thomas Wood)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c: Correct docs for program-name property.
(#496689, Thomas Wood)
svn path=/trunk/; revision=18999
Matthias Clasen [Mon, 19 Nov 2007 05:02:30 +0000 (05:02 +0000)]
Small correction to the informational DTD. (#496277, Nicolas Joseph)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkbuilder.sgml: Small correction to the
informational DTD. (#496277, Nicolas Joseph)
svn path=/trunk/; revision=18998
Paolo Borelli [Sat, 17 Nov 2007 10:18:13 +0000 (10:18 +0000)]
Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.
2007-11-17 Paolo Borelli <pborelli@katamail.com>
* gtk/gtktextbuffer.c:
* gtk/gtktextlayout.c:
* gtk/gtktextview.c:
Use gtk_text_buffer_get_insert instead of get_mark. Fixes Bug 497164.
svn path=/trunk/; revision=18997
Yevgen Muntyan [Thu, 15 Nov 2007 17:03:09 +0000 (17:03 +0000)]
new functions _gtk_text_btree_get_insert() and
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextbtree.h:
* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
and _gtk_text_btree_get_selection_bound() (#497102).
* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
(gtk_text_buffer_get_selection_bound): use them here instead of
hash table lookup.
svn path=/trunk/; revision=18996
Yevgen Muntyan [Thu, 15 Nov 2007 17:00:33 +0000 (17:00 +0000)]
sort returned tags array by tags priority (#497102).
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned
tags array by tags priority (#497102).
* gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes):
* gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here.
svn path=/trunk/; revision=18995
Yevgen Muntyan [Thu, 15 Nov 2007 16:24:42 +0000 (16:24 +0000)]
do not call _gtk_text_btree_get_iter_at_line() and
2007-11-15 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextlayout.c: (gtk_text_layout_get_line_display),
(get_style): do not call _gtk_text_btree_get_iter_at_line() and
_gtk_text_btree_get_tags() for every segment, instead call them
once and then collect the tags while iterating over the segments.
(get_tags_array_at_iter), (tags_array_toggle_tag): new functions
for tags array handling.
svn path=/trunk/; revision=18994
Matej Urbančič [Wed, 14 Nov 2007 14:25:13 +0000 (14:25 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=18993
Matej Urbančič [Wed, 14 Nov 2007 14:01:58 +0000 (14:01 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=18992
Michael Natterer [Wed, 14 Nov 2007 10:09:44 +0000 (10:09 +0000)]
remove recently added gdk_flush() again, it's not needed after all.
2007-11-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_popup): remove recently added
gdk_flush() again, it's not needed after all.
svn path=/trunk/; revision=18991
Michael Natterer [Wed, 14 Nov 2007 10:00:37 +0000 (10:00 +0000)]
tests/testbbox.c use g_object_ref/unref instead of deprecated functions.
2007-11-14 Michael Natterer <mitch@imendio.com>
* tests/testbbox.c
* tests/testframe.c: use g_object_ref/unref instead of deprecated
functions.
svn path=/trunk/; revision=18990
Michael Natterer [Wed, 14 Nov 2007 09:45:59 +0000 (09:45 +0000)]
Remove conflict marker.
svn path=/trunk/; revision=18989
Michael Natterer [Wed, 14 Nov 2007 09:45:14 +0000 (09:45 +0000)]
cast pointers to fix warnings about signdness.
2007-11-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkstyle.c (gtk_default_draw_focus): cast pointers to fix
warnings about signdness.
svn path=/trunk/; revision=18988
Sven Herzberg [Tue, 13 Nov 2007 21:05:09 +0000 (21:05 +0000)]
Reviewed by Richard:
2007-11-12 Sven Herzberg <herzi@imendio.com>
Reviewed by Richard:
* gdk/quartz/gdkquartz.h: include <gdk/gdkprivate.h> with angle
brackets and not with quotation marks
svn path=/trunk/; revision=18987
Alexander Larsson [Mon, 12 Nov 2007 15:51:55 +0000 (15:51 +0000)]
Avoid loading the ISO8859-1 iconv module. We're already doing all the
2007-11-12 Alexander Larsson <alexl@redhat.com>
* gdk/x11/gdkselection-x11.c:
Avoid loading the ISO8859-1 iconv module.
We're already doing all the required work anyway.
This saves 4kb private dirty memory per gtk+ process
svn path=/trunk/; revision=18986
Priit Laes [Mon, 12 Nov 2007 10:28:37 +0000 (10:28 +0000)]
Translation updated by Ivar Smolin.
2007-11-12 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=18985
Yevgen Muntyan [Sun, 11 Nov 2007 19:07:27 +0000 (19:07 +0000)]
Moved gtk_text_view_update_im_spot_location() calls into an idle, fixes
2007-11-11 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtktextview.c: Moved gtk_text_view_update_im_spot_location()
calls into an idle, fixes #494776.
GtkTextViewPrivate:im_spot_idle, do_update_im_spot_location(),
queue_update_im_spot_location(), flush_update_im_spot_location(): new
field and functions to queue the call;
(changed_handler): call queue_update_im_spot_location() instead of
gtk_text_view_update_im_spot_location();
(gtk_text_view_key_press_event): flush the idle here.
svn path=/trunk/; revision=18984
Ryan Lortie [Sun, 11 Nov 2007 18:06:11 +0000 (18:06 +0000)]
Convert delayed_properties hashtable to linked list. Fixes #495769.
2007-11-10 Ryan Lortie <desrt@desrt.ca>
* gtk/gtkbuilder.c: Convert delayed_properties hashtable to linked
list. Fixes #495769.
svn path=/trunk/; revision=18983
Matthias Clasen [Sun, 11 Nov 2007 03:24:06 +0000 (03:24 +0000)]
Avoid unaligned accesses that cause problems on some architectures. (patch
2007-11-10 Matthias Clasen <mclasen@redhat.com>
* io-jpeg.c: Avoid unaligned accesses that cause
problems on some architectures. (patch by David Miller)
svn path=/trunk/; revision=18982
Matthias Clasen [Sat, 10 Nov 2007 23:59:05 +0000 (23:59 +0000)]
Parse a file given on the cmdline
svn path=/trunk/; revision=18981
Matthias Clasen [Sat, 10 Nov 2007 23:57:32 +0000 (23:57 +0000)]
Leak less in error paths
svn path=/trunk/; revision=18980
Matthias Clasen [Sat, 10 Nov 2007 05:03:10 +0000 (05:03 +0000)]
Don't leak buffer if an error occurs.
2007-11-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbuilder.c (gtk_builder_add_from_file): Don't
leak buffer if an error occurs.
svn path=/trunk/; revision=18979
Matthias Clasen [Sat, 10 Nov 2007 04:50:15 +0000 (04:50 +0000)]
More robustness improvements of the parser
svn path=/trunk/; revision=18978
Matthias Clasen [Sat, 10 Nov 2007 04:15:44 +0000 (04:15 +0000)]
Don't assert on misplaced signal elements
svn path=/trunk/; revision=18977
Matthias Clasen [Sat, 10 Nov 2007 02:36:56 +0000 (02:36 +0000)]
Handle misplaced property elements without asserting.
2007-11-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbuilderparser.c (parse_property): Handle misplaced
property elements without asserting.
svn path=/trunk/; revision=18976
Kristian Rietveld [Fri, 9 Nov 2007 22:44:31 +0000 (22:44 +0000)]
guard for windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported
2007-11-09 Kristian Rietveld <kris@imendio.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): guard for
windows with GDK_WINDOW_DESTROYED set. (Fixes #482531, reported
by Sebastien Bacher).
svn path=/trunk/; revision=18975
Matthias Clasen [Fri, 9 Nov 2007 16:56:17 +0000 (16:56 +0000)]
Stylistic fixes
svn path=/trunk/; revision=18974
Matthias Clasen [Fri, 9 Nov 2007 00:33:45 +0000 (00:33 +0000)]
don't leak 'filename' field memory when loading more than one file into
2007-11-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbuilder.c: don't leak 'filename' field memory when loading
more than one file into the same GtkBuilder instance. Noticed by
Ryan Lortie.
svn path=/trunk/; revision=18973
Michael Natterer [Thu, 8 Nov 2007 12:30:01 +0000 (12:30 +0000)]
include <glib.h> instead of <glib/gmarkup.h>
2007-11-08 Michael Natterer <mitch@imendio.com>
* gtk/gtkbuildable.h: include <glib.h> instead of <glib/gmarkup.h>
svn path=/trunk/; revision=18972
Matthias Clasen [Thu, 8 Nov 2007 05:21:06 +0000 (05:21 +0000)]
Forgotten file
svn path=/trunk/; revision=18971
Ryan Lortie [Thu, 8 Nov 2007 04:12:52 +0000 (04:12 +0000)]
Add GString 'text' to the property info structure. Used to accumulate
2007-11-07 Ryan Lortie <desrt@desrt.ca>
* gtk/gtkbuilderprivate.h: Add GString 'text' to the property info
structure. Used to accumulate property text across multiple 'text'
calls.
* gtk/gtkbuilderparser.c: Instead of translating/copying text on each
'text' call while in <property> accumulate the text until the end and
do it all in one go. This fixes handling of <!-- --> inside
properties as well as <property/> cases.
svn path=/trunk/; revision=18970
Michael Natterer [Tue, 6 Nov 2007 14:23:56 +0000 (14:23 +0000)]
call gdk_flush() after showing the menu so we can definitely grab on it.
2007-11-06 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_popup): call gdk_flush() after showing
the menu so we can definitely grab on it. Grab failure found by
Xan Lopez.
svn path=/trunk/; revision=18969
Michael Natterer [Tue, 6 Nov 2007 08:57:33 +0000 (08:57 +0000)]
fixed docs.
2007-11-06 Michael Natterer <mitch@imendio.com>
* gtk/gtkwidget.c (gtk_widget_keynav_failed): fixed docs.
svn path=/trunk/; revision=18968
Richard Hult [Sun, 4 Nov 2007 18:11:22 +0000 (18:11 +0000)]
Make shift tab work with unicode layouts (e.g. all Leopard layouts), fixes
2007-11-04 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Make shift
tab work with unicode layouts (e.g. all Leopard layouts), fixes
bug #493404.
svn path=/trunk/; revision=18967
Priit Laes [Sun, 4 Nov 2007 10:46:12 +0000 (10:46 +0000)]
Translation updated by Ivar Smolin.
2007-11-04 Priit Laes <plaes@svn.gnome.org>
* et.po: Translation updated by Ivar Smolin.
svn path=/trunk/; revision=18966
Richard Hult [Sat, 3 Nov 2007 13:12:45 +0000 (13:12 +0000)]
Fix bug #486369, by passing the selection info along when pasting.
2007-11-03 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c: (clipboard_owner_destroyed),
(gtk_clipboard_set_contents), (clipboard_unset): Fix bug #486369,
by passing the selection info along when pasting.
svn path=/trunk/; revision=18965
Richard Hult [Sat, 3 Nov 2007 09:52:34 +0000 (09:52 +0000)]
Make the grab breaking on window move work on Leopard (as well as Tiger)
2007-11-03 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h: Make the grab breaking on window
move work on Leopard (as well as Tiger) by ignoring which mouse
button is pressed.
svn path=/trunk/; revision=18964
Richard Hult [Sat, 3 Nov 2007 09:45:25 +0000 (09:45 +0000)]
Calculate the frame rect correctly when resizing toplevels, fixes bug
2007-11-03 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
Calculate the frame rect correctly when resizing toplevels, fixes
bug #492209.
svn path=/trunk/; revision=18963
Kjartan Maraas [Fri, 2 Nov 2007 12:22:20 +0000 (12:22 +0000)]
Updated Norwegian bokmål translation.
2007-11-02 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=18962
Kjartan Maraas [Fri, 2 Nov 2007 12:18:48 +0000 (12:18 +0000)]
Updated Norwegian bokmål translation.
2007-11-02 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=18961
Ihar Hrachyshka [Thu, 1 Nov 2007 11:08:11 +0000 (11:08 +0000)]
Updated Belarusian Latin translation.
svn path=/trunk/; revision=18960
Richard Hult [Thu, 1 Nov 2007 08:45:30 +0000 (08:45 +0000)]
Redo the fix for bug #492117, by adding a getter for the private drag
2007-11-01 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h:
* gdk/quartz/gdkdnd-quartz.c:
* gdk/quartz/gdkquartz.h:
* gtk/gtkdnd-quartz.c: Redo the fix for bug #492117, by adding a
getter for the private drag context info so we don't need to
expose so much in the public quartz header file.
svn path=/trunk/; revision=18959